<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">
	
	<p:fieldset>
		<h:panelGrid id="conta_financeiro_view" columns="1" cellpadding="0" width="100%">
			<h:panelGrid id="bloco1_view" columns="4" cellpadding="0" width="20%">
			
				<h:outputText value="#{appLabels.contaFinanceiro_att_conta}" />
				<h:outputText value="#{contaFinanceiroMB.modeloEdicao.conta}" />
				<h:outputText value="#{contaFinanceiroMB.modeloEdicao.conta.nomeFantasia}" />
			
			</h:panelGrid>
		
			<h:panelGrid id="bloco2_view" columns="3" cellpadding="10" width="100%">
				
				<h:outputText value="#{appLabels.contaFinanceiro_att_flagTipo}" />
				<h:outputText value="#{appLabels.contaFinanceiro_att_numeroDocumento}" />
				<h:outputText value="#{appLabels.contaFinanceiro_att_dataEmissao}" />

				<h:outputText value="#{contaFinanceiroMB.modeloEdicao.flagTipo.textoCurto}" />
				<h:outputText value="#{contaFinanceiroMB.modeloEdicao.numeroDocumento}" />
				<h:outputText value="#{contaFinanceiroMB.modeloEdicao.dataEmissao}" />

				<h:outputText value="#{appLabels.contaFinanceiro_att_dataVencimento}" />
				<h:outputText value="#{appLabels.contaFinanceiro_att_valor}" />
				<h:outputText value="#{appLabels.contaFinanceiro_att_numeroParcela}" />
				
				<h:outputText value="#{contaFinanceiroMB.modeloEdicao.dataVencimento}" />
				<h:outputText value="#{contaFinanceiroMB.modeloEdicao.valor}" />
				<h:outputText value="#{contaFinanceiroMB.modeloEdicao.numeroParcela}" />

				<h:outputText value="#{appLabels.contaFinanceiro_att_desconto}" />
				<h:outputText value="#{appLabels.contaFinanceiro_att_valorPago}" />
				<h:outputText value="#{appLabels.contaFinanceiro_att_dataPagamento}" />

				<h:outputText value="#{contaFinanceiroMB.modeloEdicao.desconto}" />
				<h:outputText value="#{contaFinanceiroMB.modeloEdicao.valorPago}" />
				<h:outputText value="#{contaFinanceiroMB.modeloEdicao.dataPagamento}" />
							
			</h:panelGrid>

			<h:panelGrid id="bloco3_view" columns="3" cellpadding="10" width="100%">
				
				<h:outputText value="#{appLabels.contaFinanceiro_att_natureza}" />
				<h:outputText value="#{appLabels.contaFinanceiro_att_empresa}" />
				<h:outputText value="#{appLabels.contaFinanceiro_att_operacao}" />

				<h:outputText value="#{contaFinanceiroMB.modeloEdicao.centroCusto.natureza.descricao}" />
				<h:outputText value="#{contaFinanceiroMB.modeloEdicao.empresa.nomeFantasia}" />
				<h:outputText value="#{contaFinanceiroMB.modeloEdicao.despesa.operacao.descricao}" />

				<h:outputText value="#{appLabels.contaFinanceiro_att_centroCusto}" />
				<h:outputText value="#{appLabels.contaFinanceiro_att_formaPagamento}" />
				<h:outputText value="#{appLabels.contaFinanceiro_att_despesa}" />
				
				<h:outputText value="#{contaFinanceiroMB.modeloEdicao.centroCusto.descricao}" />
				<h:outputText value="#{contaFinanceiroMB.modeloEdicao.formaPagamento.descricao}" />
				<h:outputText value="#{contaFinanceiroMB.modeloEdicao.despesa.descricao}" />

				<h:outputText value="#{appLabels.contaFinanceiro_att_portador}" />
				<h:outputText value="#{appLabels.contaFinanceiro_att_banco}" />
				<h:outputText value="#{appLabels.contaFinanceiro_att_flagStatus}" />
				
				<h:outputText value="#{contaFinanceiroMB.modeloEdicao.portador.descricao}" />
				<h:outputText value="#{contaFinanceiroMB.modeloEdicao.banco.nome}" />
				<h:outputText value="#{contaFinanceiroMB.modeloEdicao.flagStatus.textoCurto}" />

			</h:panelGrid>

			<h:panelGrid id="bloco4_view" columns="2" cellpadding="10" width="100%">

				<h:outputText value="#{appLabels.contaFinanceiro_att_flagProvisao}" />
				<h:outputText value="#{appLabels.contaFinanceiro_att_quantidadeParcelas}" />

				<h:outputText value="#{contaFinanceiroMB.modeloEdicao.flagProvisao.textoCurto}" />
				<h:outputText value="#{contaFinanceiroMB.modeloEdicao.quantidadeParcelas}" />
							
			</h:panelGrid>

			<h:panelGrid id="bloco5_view" columns="1" cellpadding="10" width="100%">

				<h:panelGrid id="bloco5_1_view" columns="4" cellpadding="0" width="20%">
				
					<h:outputText value="#{appLabels.contaFinanceiro_att_funcionario}" />
					<h:outputText value="#{contaFinanceiroMB.modeloEdicao.funcionario.id}" />
					<h:outputText value="#{contaFinanceiroMB.modeloEdicao.funcionario.nome}" />
				
				</h:panelGrid>
				
				<h:outputText value="#{appLabels.entidade_auditavel_att_descricao}" />
				<h:outputText value="#{contaFinanceiroMB.modeloEdicao.descricao}" />
							
				<h:outputText value="#{appLabels.contaFinanceiro_att_observacao}" />
				<h:outputText value="#{contaFinanceiroMB.modeloEdicao.observacao}" />
			
			</h:panelGrid>

			<f:facet name="footer">
				<p:commandButton value="#{appLabels.botao_crud_imprimir}" update="form" icon="printIcon" />
				<p:commandButton value="#{appLabels.botao_crud_voltar}" action="#{contaFinanceiroMB.irParaPesquisa}" immediate="true" update="form" icon="backIcon" />
			</f:facet>
		</h:panelGrid>
	</p:fieldset>
</html>